package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum ActivityPointSignLogCategory {
    point(0, "积分"),
    balance(1, "余额"),
    coupon(2, "优惠券");

    @EnumValue
    private final int code;
    private final String desc;

    ActivityPointSignLogCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
